package com.tuanzi.loan.business.entity.pageTemplate;

import com.tuanzi.loan.core.entity.AuditEntity;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @Auther: hequnayu
 * @Date: 2019/9/16 19:02
 * @Description:
 */
@Data
@Entity
@Table(name = "loan_page_template_info")
public class LoanPageTemplateInfo extends AuditEntity implements Serializable {

    private static final long serialVersionUID = 6982357712002788579L;
    @Id
    @Column(name = "ID")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @Column(name = "NAME")
    private String name;

    @Column(name = "PARENT_ID")
    private String parentId;

    @Column(name = "STATUS")
    private Integer status;

    @Column(name = "USER_TYPE")
    private Integer userType;

    @Column(name = "SUBSTITUTE")
    private Boolean substitute;
}
